package com.bw.module_main.ui.splash

import com.bw.module_main.http.MainApi
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.flowOn
import javax.inject.Inject

/**
 * @author zhy
 * @date 2025-09-18 14:03
 * @description
 */
class SplashRepository @Inject constructor(){
    @Inject
    lateinit var api: MainApi
    fun adList() = flow{
        emit(api.adList())
    }.flowOn(Dispatchers.IO)
}